export interface LoginRequestData {
  username: string; // Reverted to username
  password: string;
}

export interface RegisterRequestData {
  username: string;
  password: string;
}

// export type CaptchaResponseData = ApiResponseData<string>; // 注释掉，因为不再使用验证码

export interface LoginResponseData {
  token: string;
}

export interface UserInfoResponseData {
  id: string;
  username: string;
  email: string;
  date: string; // Assuming date is returned as a string
}
